package com.g4.shoppingback.service;


import com.g4.shoppingback.pojo.AddressInfo;

import java.util.List;

public interface AddressService {

    /**
     * 增加地址
     *
     * @param
     */
    public void addAddressInfo(String address, int userId);

    /**
     * 删除地址
     */
    public void deleteAddress(int id);


    /**
     * 修改地址
     *
     */

    public void  updateAddress(int addressId,String assress,int userId);


    /**
     * 查询地址
     */

    public List<AddressInfo> selectAddress(int userId);




}
